package com.aidong.device.controllers;

import java.util.ArrayList;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.aidong.device.controllers.concerns.Success;

@RequestMapping("/device/")
@RestController
public class DeviceController {

	@RequestMapping("{machineId}")
	public Success home(@PathVariable("machineId") String machineId) {
		Success success = new Success();
		success.setData(new ArrayList<>());
		return success;
	}
}
